package com.exam.itempool.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.exam.role.model.Teacher;

/**
 * QuestionSelect entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class QuestionSelect implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Coursetype coursetype;
	private Teacher teacher;
	private Questiontype questiontype;
	private String question;
	private String flag;
	private Float score;
	private Date createtime;
	private Set papercontentsForQsoid = new HashSet(0);
	private Set selectOptions = new HashSet(0);
	private Set pcqsos = new HashSet(0);
	private Set selectAnswers = new HashSet(0);
	private Set papercontentsForQsmid = new HashSet(0);

	// Constructors

	/** default constructor */
	public QuestionSelect()
	{
	}

	/** full constructor */
	public QuestionSelect(Coursetype coursetype, Teacher teacher, Questiontype questiontype, String question, String flag, Float score, Date createtime, Set papercontentsForQsoid, Set selectOptions, Set pcqsos, Set selectAnswers, Set papercontentsForQsmid)
	{
		this.coursetype = coursetype;
		this.teacher = teacher;
		this.questiontype = questiontype;
		this.question = question;
		this.flag = flag;
		this.score = score;
		this.createtime = createtime;
		this.papercontentsForQsoid = papercontentsForQsoid;
		this.selectOptions = selectOptions;
		this.pcqsos = pcqsos;
		this.selectAnswers = selectAnswers;
		this.papercontentsForQsmid = papercontentsForQsmid;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Coursetype getCoursetype()
	{
		return this.coursetype;
	}

	public void setCoursetype(Coursetype coursetype)
	{
		this.coursetype = coursetype;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public Questiontype getQuestiontype()
	{
		return this.questiontype;
	}

	public void setQuestiontype(Questiontype questiontype)
	{
		this.questiontype = questiontype;
	}

	public String getQuestion()
	{
		return this.question;
	}

	public void setQuestion(String question)
	{
		this.question = question;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Float getScore()
	{
		return this.score;
	}

	public void setScore(Float score)
	{
		this.score = score;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public Set getPapercontentsForQsoid()
	{
		return this.papercontentsForQsoid;
	}

	public void setPapercontentsForQsoid(Set papercontentsForQsoid)
	{
		this.papercontentsForQsoid = papercontentsForQsoid;
	}

	public Set getSelectOptions()
	{
		return this.selectOptions;
	}

	public void setSelectOptions(Set selectOptions)
	{
		this.selectOptions = selectOptions;
	}

	public Set getPcqsos()
	{
		return this.pcqsos;
	}

	public void setPcqsos(Set pcqsos)
	{
		this.pcqsos = pcqsos;
	}

	public Set getSelectAnswers()
	{
		return this.selectAnswers;
	}

	public void setSelectAnswers(Set selectAnswers)
	{
		this.selectAnswers = selectAnswers;
	}

	public Set getPapercontentsForQsmid()
	{
		return this.papercontentsForQsmid;
	}

	public void setPapercontentsForQsmid(Set papercontentsForQsmid)
	{
		this.papercontentsForQsmid = papercontentsForQsmid;
	}

}